package com.kma.summer2012.dao;

import com.kma.summer2012.model.CrumbsClient;

import java.sql.SQLException;
import java.util.Collection;

public interface CrumbsClientDAO extends DAO<CrumbsClient> {
    public void add(CrumbsClient o) throws SQLException;

    public CrumbsClient addClient(CrumbsClient o) throws SQLException;


    // public CrumbsClient add(CrumbsClient o) throws SQLException;

    public void update(CrumbsClient o) throws SQLException;

    public CrumbsClient getById(int id) throws SQLException;

    public Collection<CrumbsClient> getAll() throws SQLException;

    public void delete(CrumbsClient o) throws SQLException;
}
